package com.dzm.service;

import com.dzm.entity.Advertisement;
import com.dzm.vo.SearchVO;
import com.github.pagehelper.Page;

/**
 * 作者：Dzm
 * 时间：2024-08-10-9:37
 * 功能：
 */
public interface AdvertisementService {

    //条件带分页查询
    Page<Advertisement> search(Integer pageNum, Integer pageSize, SearchVO searchVO);

    void addAdvertisement(Advertisement advertisement);

    void updateAdvertisement(Advertisement advertisement);

    Advertisement getById(Integer id);

    void deleteByIds(String ids);
}
